Solving Multi-codebook Quantization in the GPU
نویسندگان
چکیده
We focus on the problem of vector compression using multicodebook quantization (MCQ). MCQ is a generalization of k-means where the centroids arise from the combinatorial sums of entries in multiple codebooks, and has become a critical component of large-scale, state-of-the-art approximate nearest neighbour search systems. MCQ is often addressed in an iterative manner, where learning the codebooks can be solved exactly via least-squares, but finding the optimal codes results in a large number of combinatorial NP-Hard problems. Recently, we have demonstrated that an algorithm based on stochastic local search for this problem outperforms all previous approaches. In this paper we introduce a GPU implementation of our method, which achieves a 30× speedup over a single-threaded CPU implementation. Our code is publicly available.
منابع مشابه
An approach to Improve Particle Swarm Optimization Algorithm Using CUDA
The time consumption in solving computationally heavy problems has always been a concern for computer programmers. Due to simplicity of its implementation, the PSO (Particle Swarm Optimization) is a suitable meta-heuristic algorithm for solving computationally heavy problems. However, despite the simplicity, the algorithm is inefficient for solving real computationally heavy problems but the pr...
متن کاملCodebook Design forVector Quantization Using GeneticAlgorithm
Genetic algorithms have been widely used to solve optimization in many fields such as multi-objective optimization, Fuzzy Optimization, and scheduling problem. Vector quantization, a basic method, is adopted by image compression technology and has a better performance than scalar quantization. Hence, it is worth to study how to apply genetic algorithms on the optimal design of codebook generati...
متن کاملVector Quantization with a Growing and Splitting Elastic Net
A new vector quantization method is proposed which generates codebooks incrementally. New vectors are inserted in areas of the input vector space where the quantization error is especially high until the desired number of codebook vectors is reached. A one-dimensional topological neighborhood makes it possible to interpolate new vectors from existing ones. Vectors not contributing to error mini...
متن کاملA Growing and Splitting Elastic Network for Vector Quantization
{ A new vector quantization method is proposed which incrementally generates a suitable codebook. During the generation process new vectors are inserted in areas of the input vector space where the quantization error is especially high. A one-dimensional topological neighborhood makes it possible to interpolate new vectors from existing ones. Vectors not contributing to error minimization are r...
متن کاملMulti-codebook vector quantization algorithm for speaker identification
This paper introduces an algorithm for speaker identification based on multi-codebook vector quantization (MCVQ). MCVQ combines different size codebooks to achieve high recognition accuracy for text-independent speaker identification and reduce the number of distortion calculations during matching between test frame and speakers’ codebooks. Experimental work has shown that the proposed model sp...
متن کامل